/* 'Sane' crosssite.def file.  To be used when copies are shipped out */

/* Use color pixmaps?  Note: you must have the XPM library installed
 * in order for crossfire to compile if you have this set.  XPM is not
 * included in the standard X11 distribution, but is available on
 * most ftp sites that archive X11 programs.  The XPM library is
 * typically called libXpm.a .  If you don't have the library, turn
 * XPM code OFF, or you will not be able to compile the program.
 *
 * As of now (crossfire 0.90.1), only a few categories of pixmaps have
 * been fully converted.  The advantage of X PixMaps is
 * better looking graphics (on color systems), and bit masks, so that
 * an object does not block all objects below it (all display systems)
 *
 * If you are running on a black and white system, the only likely loss
 * is that of some speed (both the floor and the object are drawn).
 *
 * There are lots of pixmaps to convert.  It doesn't take much skill
 * to convert them, just time (loading them up, coloring the appropriate
 * areas, (or some areas to none), and saving them.)  If your interested
 * in doing this, drop me some mail.
 *
 * Set XPM_LIBDIR to where ever the XPM library is stored on your 
 * machine, if it is a place not normally searched by the compiler.
 *
 * Note: It is assumed that the header file is in the same place as your
 * X11 header files.
 *
 * Version 3.2f or later of the XPM library is needed for Crossfire
 * to compile with XPM support
 *
 * If during linking, it can not find XCreatePixmapFromBuffer, then your
 * version of libXpm is not new enough.n
 *
 * If you have question, color pixmap code is by Mark Wedel
 * (mwedel@pyramid.com)
 */

/*
#define XPM_PIX
#define Xpm_LibDir /usr/local/lib/
*/
/* If your include files are someplace odd */
/*#define Xpm_Include	/usr/local/include*/


/* This sets the location of the eutl library.  Same type of set up
 * as XPM stuff above.
 */

/* define Use_Eutl if you actually want to link with the eutl library.
 * Eutl is only needed for the client/server code.  If you don't want
 * to use the new code, you don't need this.
 * Eutl is a separate package that you will need to get and install - it
 * is not part of crossfire.
 *
 * Note - that the eutl library has at least some conflicts with Solaris
 * 2.5 - I haven't bothered to play around at all with it to get it working
 * right.
 */

/*#define Use_Eutl*/
#define Eutl_Libdir $(TOP)/eutl
#define Eutl_Include $(TOP)/eutl/include

/* Automatically install after successfull compilation? */
#undef AutoInstall

/*
 * This is a top root directory of all game staff as in UNIX-style
 * overall. 
 */
#define CTop /home/sleipner/a/crossfire/crossfire
/* #define CTop /net/contrib/crossfire */
/*#define CTop /usr/local/games/crossfire*/

/* Binaries location If this is undefined, it default to the
   standard location for X binaries on your machine. */
#define CBinDir Concat(CTop,/bin)

/* Libraries location If this is undefined it defaults to the
  standard location for X lib files/crossfire on your machine */
#define CLibDir Concat(CTop,/lib)

/* define and put a path here if you want it other than CLibDir/adm */
#undef CAdmDir 

/* Font location. If this is undefined it defaults to the standard
 * location for misc fonts on your machine
 */

#define CFontDir Concat(CTop,/fonts)


/* Crossfire manual location If this is undefined it defaults to the
   standard location for manual pages on your machine.*/
/* #define CManPath Concat(CTop,/man) */
#define CManSuffix 6


/* Force CC to use the specified options instead of the default
 * This needs to be defined to the actual options (see commented
 * out example.  If ForceCCOPTIONS is defined, it will not use
 * any of the default compiler options for your machine.
 */
/*define ForceCCOPTIONS -O -g -Wall */
#undef ForceCCOPTIONS

/* Extra_Flags are added onto the compilers default options.  Can be
 * quite useful if you just want to add another flag or two, and not
 * want to mess around with the crossfire.cf file, or have to re-do all
 * the options withe ForceCCOPTIONS. 
 */
/* for use with gcc, it will use /usr/local/bin for the additional
 * programs, like the linker and assembler.
 * Removed -B/usr/local/bin - causes problems when link crossedit with
 * gnu ld
 */
/*#define Extra_Flags -B/usr/local/bin/*/


/* Force CC to be a specific compilator? Define this to be the
 * actual compiler (see example).  If defined, the default
 * compiler, and possible additional options, for your machine
 * will not be used. */

/*
#define ForceCC gcc
*/

/*
 * define this if your sun has acc instead gcc and you plan to
 * use acc to compile.
 */
#undef SunHasAcc

/* If you have a sun computer without the acc compiler, define this */
/* This means SunOs 4.1.x systems using gcc (normal cc will not compile
 * crossfire.)  It just provides some function prototypes, so if you
 * have it undefined when you need it, all that is likely to happen
 * is you get a lot of warning messages.
 * Have no idea if this is needed with Solaris 2.0
 */

/* Hopefully, the following two will work properly if the SunHasACC
 * define/undef above is set correctly, so that the user does not
 * need to set these manually.
 * Note - if you have installed the GNU C library, then don't define
 * this (comment it out).  Otherwise, you will get conflicts, which
 * are real errors, and will cause the compile to fail.
 */
#if defined(SunArchitecture) && (OSMajorVersion != 5) && !defined(SunHasAcc)
#define StupidSunHeaders
#endif

/* Only Suns with acc seem to have problems with longjump */
#ifdef SunHasAcc
#undef NoLongJumps
#endif


/* Uncomment this if you want to use the rplay library. */
/* Note, the sound files are not included as a standard part of Crossfire,
 * but they are available on the ftp site.
 * Default: Sound support off.
 */

/*
#define SoundEffects
#define RPlayLibDir /usr/local/lib
#define RPlayIncDir /usr/local/include
*/

/* define this if using OpenWindows as your enviroment. This only
 * needs to be set if the openwindows server you use is
 * xnews.  Do not use this if you are using Openwindows 3 or beyond.
 * Basically, old openwindows (2) uses a different font format, which required
 * different utilities to create the fonts.
 *
 * Since Openwindows 2.x is pretty much dead, this option should be removed
 * in the future.  Maybe just add a directive like 'openwin-font' in the
 * lib directory for those still unfortunate enough to be using it.
 */
/* is there any way at get at this through a define in the config?
   I can't find any sites which actually have openwindows -- eanders@cmu.edu */
#undef OWIN 

/* define this to the font type if it guesses wrong, and send mail to
   the crossfire list saying what machine you're on, and what version of
   X so we can make it guess correctly */
#undef ForceFont

/* do we want to debug stuff ? */
/*#define CDebug*/

/* Do we want to profile stuff ? */
/*#define CProf*/

/* probably don't need to change things below here */

/*
 * This isn't vital for building the game, you need it only if you want
 * to type "make spoiler.dvi" in the doc-directory.
 *
 * gawk or mawk will work (these are both freely distributable
 * implementations). Ultrix and SunOS awk and nawk will not work. 
 * awk on most other systems will be OK.
 */

AWK = gawk

/* Use debugged malloc?  I don't know if this exists on all machines/OS's,
 * but it does exist on SunOs 4.1.1.
 * Debug malloc has different levels (as set below.)  Level 0 makes it
 * act like normal malloc (no extra error chacking done.)
 * level 1 has the malloc and associated functions check the heap
 * space, and if there are problems with it, it prints an error message.
 * level 2 checks the entire heap for any malloc or related function
 * (this is SLOW.)
 * read the malloc man page for more information
 */

/*
#define DEBUG_MALLOC
*/
/* DEBUG_DMALLOC tells it to use the dmalloc package.  This is a publically
 * available package that can be installed on most any system.
 */
#define DEBUG_DMALLOC
/*
#define DEBUG_MALLOC_LEVEL	1
*/

/*
 * That's it...
 * Remember to have a look at "include/config.h" as well to see if there is
 * something you might wish to change there before compiling.
 */
